<script lang="ts" setup>
import { computed, provide, ref } from 'vue';

const props = withDefaults(defineProps<{ pagination?: any; empty?: boolean; checkbox?: boolean }>(), {
	pagination: null,
	empty: false
});
</script>

<template>
	<view class="um-list">
		<view class="content">
			<um-empty :fixed="false" style="margin-top: 100rpx" v-if="empty" />
			<slot v-else></slot>
		</view>
		<tui-nomore text="没有更多了" v-if="pagination" background-color="none"></tui-nomore>
	</view>
</template>

<style lang="scss" scoped>
.um-list {
	.content {
		display: flex;
		flex-direction: column;
	}
}
</style>
